home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 140 < prev    next >
Internet Message Format  |  1996-08-06  |  1KB

  1. Path: sdrc.com!thor!scjones
  2. From: scjones@thor.sdrc.com (Larry Jones)
  3. Newsgroups: comp.std.c
  4. Subject: Re: brief summary of Technical Corrigendum 2
  5. Date: 18 Jan 1996 15:19:41 GMT
  6. Organization: SDRC Engineering Services
  7. Distribution: world
  8. Message-ID: <4dloed$oi1@info1.sdrc.com>
  9. References: <4d554m$q4b@news1.halcyon.com> <4dfgdt$se6@der.twinsun.com> <DLC97p.88M@stdc.demon.co.uk>
  10. NNTP-Posting-Host: thor.sdrc.com
  11.  
  12. In article <DLC97p.88M@stdc.demon.co.uk>, clive@stdc.demon.co.uk (Clive D.W. Feather) writes:
  13. > In article <4dfgdt$se6@der.twinsun.com>,
  14. > Paul Eggert <eggert@twinsun.com> wrote:
  15. > > * va_start and va_end must be invoked in corresponding pairs,
  16. > >   and the pairs cannot nest.
  17. > Huh ? I understood (and it's my DR they're replying to) that the pairs
  18. > *can* nest.
  19.  
  20. I don't know if that was a typo or a thinko, but I suspect that what
  21. Paul meant to say was that the pairs cannot interleave.
  22.  
  23.         VALID                   INVALID
  24.    -----------------        -----------------
  25.    va_start(a, foo);        va_start(a, foo);
  26.    va_start(b, foo);        va_start(b, foo);
  27.    va_end(b);               va_end(a);
  28.    va_end(a);               va_end(b);
  29. ----
  30. Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH  45150-2789  513-576-2070
  31. larry.jones@sdrc.com
  32. Whatever it is, it's driving me crazy! -- Calvin
  33.